<template>
    <div class="defaultLayout">
        <FlexHeader/>
        <Nuxt class="nt"></Nuxt>
        <FlexSide/>
    </div>
</template>
<script>
import FlexHeader from '@/components/Header.vue'
import FlexSide from '@/components/SideBar.vue'
export default {
    components:{
        FlexHeader,
        FlexSide
    }
}
</script>
<style lang="scss" scoped>
.defaultLayout{
    display: block;
    width: 100%;
    height: 100%;
}
.nt{
    width: 172vh;
    height: 90vh;
    max-height: 90vh;
    margin-top: 2vh;
    overflow-y: scroll;
    float: right;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 30%);
}
::-webkit-scrollbar{
    width:10px;
    height:10px;
}
/*正常情况下滑块的样式*/
::-webkit-scrollbar-thumb{
    background-color:rgba(82, 183, 245, 1);
    border-radius:10px;
    -webkit-box-shadow:inset1px1px0rgba(0,0,0,.1);
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/
::-webkit-scrollbar-thumb{
    background-color:rgba(0,0,0,.2);
    border-radius:10px;
    -webkit-box-shadow:inset1px1px0rgba(0,0,0,.1);
}
/*鼠标悬浮在滑块上时滑块的样式*/
::-webkit-scrollbar-thumb:hover{
    background-color:rgba(0,0,0,.4);
    -webkit-box-shadow:inset1px1px0rgba(0,0,0,.1);
}
/*正常时候的主干部分*/
::-webkit-scrollbar-track{
    border-radius:10px;
    -webkit-box-shadow:inset006pxrgba(0,0,0,0);
    background-color:white;
}
/*鼠标悬浮在滚动条上的主干部分*/
::-webkit-scrollbar-track:hover{
    -webkit-box-shadow:inset006pxrgba(0,0,0,.4);
    background-color:rgba(0,0,0,.01);
}
</style>